package com.cjjd.c.feature.mine.message;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;

import com.cjjd.c.base.BaseActivity;


/**
 * Created by dadagm on 17/9/18.
 */

public class SystemMessageDetailActivity extends BaseActivity {


    public static void lauch(Context context,String id) {
        Intent intent = new Intent();
        intent.putExtra("id",id);
        intent.setClass(context, SystemMessageDetailActivity.class);
        context.startActivity(intent);
    }
    @Override
    public Fragment getContentFragment() {
        SystemMessageDetailFragment fragment=new SystemMessageDetailFragment();
        Bundle bundle=new Bundle();
        bundle.putString("id",getIntent().getStringExtra("id"));
        fragment.setArguments(bundle);
        return fragment;
    }
}
